﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="Default" CodeBehind="LaiHanLCPZ.aspx.cs" Inherits="Web.Pages.YongShui._13.LAIHANGL.LaiHanLCPZ" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>来函审批流程配置</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel runat="server" ID="updatePanel1">
            <ContentTemplate>
                <div>
                    <div class="tabletitle1" align="center">
                        来函审批流程配置
                    </div>
                    <table style="width: 100%; height:300px">
                        <tr>
                            <td colspan="3">
                                 来函类型：<dx:ASPxComboBox ID="cmLaiHanLX" Width="150px"   OnSelectedIndexChanged="cmLaiHanLX_SelectedIndexChanged" AutoPostBack="true" runat="server" ValueType="System.String">
                                        <ClientSideEvents SelectedIndexChanged="function(){LoadPanel.Show();}" />
                                      </dx:ASPxComboBox>
                                <dx:ASPxLoadingPanel ID="LoadPanel" Theme="Metropolis" ClientInstanceName="LoadPanel" runat="server" Modal="True" Text="正在查询..."></dx:ASPxLoadingPanel>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%">
                                <dx:ASPxGridView ID="gvLeftList" ClientInstanceName="grid" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Width="100%" Theme="Aqua1">
                                    <Columns>
                                        <dx:GridViewDataTextColumn Caption="未拥有审批流程" Width="100%" HeaderStyle-HorizontalAlign="Center">
                                            <DataItemTemplate>
                                                <dx:ASPxCheckBox ID="LCID" runat="server"></dx:ASPxCheckBox>
                                                <%#Eval("S_SHENPILCMC") %>
                                                <asp:HiddenField ID="hid" Value='<%#Eval("I_SHENPILCBH") %>' runat="server" />
                                                
                                            </DataItemTemplate>
                                        </dx:GridViewDataTextColumn>
                                    </Columns>
                                     <Settings  VerticalScrollableHeight="300" />
                                </dx:ASPxGridView>
                            </td>
                            <td style="width:50px" align="center">
                                <dx:ASPxButton ID="BtnLeft" ClientInstanceName="BtnSearch" OnClick="BtnLeft_Click" runat="server" Text="←">

                                </dx:ASPxButton>
                                <br /><br />
                                <dx:ASPxButton ID="BtnRight" ClientInstanceName="BtnSearch" OnClick="BtnRight_Click" runat="server" Text="→">
                                </dx:ASPxButton>
                            </td>
                            <td>

                                <dx:ASPxGridView ID="gvRightList" ClientInstanceName="grid"  runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Width="100%" Theme="Aqua1">
                                    <Columns>
                                        <dx:GridViewDataTextColumn Caption="已拥有审批流程" Width="100%" HeaderStyle-HorizontalAlign="Center">
                                            <DataItemTemplate>
                                                <dx:ASPxCheckBox ID="LCID" runat="server"></dx:ASPxCheckBox>
                                                <%#Eval("S_SHENPILCMC") %>
                                                <asp:HiddenField ID="hid" Value='<%#Eval("I_SHENPILCBH") %>' runat="server" />
                                                
                                            </DataItemTemplate>
                                        </dx:GridViewDataTextColumn>
                                    </Columns>
                                     <Settings  VerticalScrollableHeight="300" />
                                </dx:ASPxGridView>
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
